﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProsDetails.ascx.cs" Inherits="AdminControl_ProsDetails" %>
<p style="text-align: center">
    Danh Sách Thành Viên</p>
<p style="text-align: center">
    <asp:GridView ID="productsdetails" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" ForeColor="#333333" GridLines="None" 
        style="text-align: center">
        <RowStyle BackColor="#E3EAEB" />
        <Columns>
            <asp:TemplateField HeaderText="Hình ảnh">
                <ItemTemplate>
                    <asp:Image ID="image" runat="server" AlternateText="Chưa có hình" 
                        ImageUrl="<%# Bind('imageurl') %>" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="proname" HeaderText="Tên Sản Phẩm" />
            <asp:BoundField DataField="usefor" HeaderText="Loại" />
            <asp:BoundField DataField="gender" HeaderText="Giới Tính" />
            <asp:BoundField DataField="countview" HeaderText="Số Lượt Xem" />
            <asp:TemplateField HeaderText="Mô Tả">
                <ItemTemplate>
                    <asp:Label ID="descript" runat="server" Text="<%# Bind('descript') %>"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Tùy Chỉnh">
                <ItemTemplate>
                    <table class="style1">
                        <tr>
                            <td align="center">
                                <asp:HyperLink ID="delete" runat="server" NavigateUrl="<%# Bind('delete') %>">Xóa</asp:HyperLink>
                            </td>
                        </tr>
                        <tr>
                            <td align="center">
                                <asp:HyperLink ID="edit" runat="server" NavigateUrl="<%# Bind('edit') %>">Chỉnh sửa</asp:HyperLink>
                            </td>
                        </tr>
                        <tr>
                            <td align="center">
                                <asp:HyperLink ID="details" runat="server" NavigateUrl="<%# Bind('details') %>">Chi 
                                tiết</asp:HyperLink>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#7C6F57" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>








</p>
